﻿@page "/Admin/Upgrade"

@using BlazorAdmin.Models

<Card>
    <HeaderTemplate>
        <div class="btn-group" role="group">
            <Button Color="Color.Info" IsAsync=true Icon="fa-solid fa-download" OnClick=DownloadFile Text="下载" />
            <!--<Button Color="Color.Success" Icon="fas fa-repeat" OnClick=GenMD5File Text="生成MD5文件" />-->
            <Button Color="Color.Secondary" Icon="fas fa-repeat" OnClick=RefreshDirTree Text="刷新" />
        </div>
    </HeaderTemplate>
    <BodyTemplate>
        <TreeView ShowIcon=true ShowSkeleton=true Items=FileDirTree OnTreeItemClick=OnTreeItemChecked />
    </BodyTemplate>
</Card>